<?php
	session_start();
	
	unset($_SESSION['opcion']);
	if ( !isset($_SESSION['opcion']) ) {
		$_SESSION['opcion'] = 4;
	} 
	
	include_once('../includes/encabezado.php');
?>
  
            
                <td width="100%" valign="top" class="rightcolumn" valign="middle" height="500px">
                	<br/>
                    <table width="90%" align="center" cellpadding="0" cellspacing="0">
                          	<tr>
                            	<td valign="top">
                                	<table width="100%" align="center" cellpadding="0" cellspacing="0">
                                		<tr>
                                 			<td height="43" align="left" valign="top" class="leftcolumn">
                                            	<div align="left">
                                                	<img src="../../publicos/imagenes/pagina/titlebar.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/titlebar.xws" border="0" />
                                                </div>
                                           	</td>
                                            <td valign="top">
                                            	<img src="../../publicos/imagenes/pagina/spacer.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/spacer.xws" border="0" />
                                          	</td>
                                          	<td width="100%" valign="top" class="hnavbg">
                                            	<img src="../../publicos/imagenes/pagina/eliminar_heading.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/buscar_heading.xws" border="0" />
                                          	</td>
                                          	<td valign="top" class="rightcolumn">
                                            	<img src="../../publicos/imagenes/pagina/top_right.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/top_right.xws" border="0" />
                                          	</td>
                                		</tr>
                              		</table> 
                              	</td>
                          	</tr>
                            
                            <tr>
                            	<td class="rightcolumn">
                                    <table width="100%" cellspacing="0" cellpadding="0">
                                    	<form action="../../controladores/articulo_controller.php" method="post">
                                            <tbody>
                                                <tr>
                                                    <td class="leftcolumn" colspan="2">
                                                        <br/>
                                                    </td>						
                                                </tr>
                                                <tr>
                                                    <td class="leftcolumn1" align="right" width="40%">
                                                        <a class="info" href="#" tabindex="-1">&nbsp;*&nbsp;<span>Campo Obligatorio</span></a>
                                                        Art&iacute;culo:
                                                    </td>
                                                    <td class="paneltext" align="left" width="60%">
                                                        <select id="id_articulo" name="id_articulo">				
                                                            <option value="">SELECCIONE</option>						 
                                                            <?php 
                                                                $i = 0;
                                                                $lista_eliminar = $_SESSION['lista_eliminar'];	
                                                                while ($i < sizeof($lista_eliminar)){
                                                                    echo '<option value="'.$lista_eliminar[$i][0].$lista_eliminar[$i][1].$lista_eliminar[$i][2].'">'.$lista_eliminar[$i][0].$lista_eliminar[$i][1].$lista_eliminar[$i][2]." - ".$lista_eliminar[$i][3].'</option>';
                                                                    $i++;
                                                                }
                                                            ?>
                                                        </select> 
                                                    </td>
                                               	</tr>
                                                <tr>
                                                    <td class="leftcolumn" colspan="2">
                                                        <br/>
                                                    </td>						
                                                </tr>
                                                <tr>
                                                    <td class="leftcolumn1" align="right">
                                                        <a class="info" href="#" tabindex="-1">&nbsp;*&nbsp;<span>12345</span></a>
                                                        Clave:
                                                    </td>
                                                    <td class="paneltext" align="left">
                                                        <input id="clave" name="clave" size="15" maxlength="5" type="password" onChange='convertir_Mayusculas(this)'>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="leftcolumn" colspan="2">
                                                        <br/>
                                                    </td>						
                                                </tr>                                                
                                                <tr>
                                                    <td class="leftcolumn" style="color:#3C9BF7" align="center" colspan="2">
                                                        * Campo Obligatorio
                                                    </td>						
                                                </tr>
                                                <tr>
                                                    <td class="leftcolumn" align="center" colspan="2"><br />                        
                                                        <input id="eliminar_a" value="Eliminar" type="submit" onClick="javascript:eliminar_articulo(this.form); return false;">
                                                        <input id="borrar_a" value="Borrar" type="reset">
                                                        <input id="cancelar_a"value="Cancelar" type="button" onClick="parent.location='../ayuda/cancelar_operaciones.php'">
                                                    </td>
                                                </tr>		
                                            </tbody>
                                        </form>
                                  	</table>                          
                              	</td>
                          	</tr>
                          	<tr>
                            	<td valign="top">
                            		<table width="100%" cellspacing="0" cellpadding="0">
                                		<tr>
                                            <td width="55" valign="top">
                                                <img src="../../publicos/imagenes/pagina/bottom_left2.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/bottom_left2.xws" border="0" />
                                            </td>
                                            <td valign="top" class="footer">&nbsp;
                                                
                                            </td>
                                            <td width="55" valign="top">
                                                <img src="../../publicos/imagenes/pagina/bottom_right.gif" editor="Webstyle4" moduleid="intranet_mytcalvo_index (Project)\../../publicos/imagenes/pagina/bottom_right.xws" border="0" />
                                            </td>
                                		</tr>
                              		</table>
                              	</td>
                          	</tr>
                        </tbody>
                    </table>
                    <br/>
                     
                </td>
            </tr>
            
<?php
	include_once('../includes/pie.php'); 
?>